#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
    int n = 0;
    scanf("%d", &n);
    int m = 0;
    m = n / 5;
    int total = 0;
    int count = 0;
    for (int i = m; i > 0; i--)
    {
        for (int j = 50; j > 0; j--)
        {
            int k = n - 5 * i - 2 * j;
            if (k > 0)
            {
                total = i + j + k;
                count++;
                printf("fen5:%d, fen2:%d, fen1:%d, total:%d\n", i, j, k, total);
            }
        }
    }
    printf("count = %d", count);
    return 0;
}